<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>增加用户</h2>
    <form action="/user/doAdd" method="post">
        ID   <input type="text" name="id" /> <br><br>
        用户名   <input type="text" name="username" /> <br><br>
        密　码   <input type="password" name="password" /> <br><br>

        爱　好  <input type="checkbox" value=1 id="lable1" name="hobby"/> <label for="lable1">吃饭</label>
               <input type="checkbox" value=2 id="lable2" name="hobby"/> <label for="lable2">睡觉</label>
               <input type="checkbox" value=3 id="lable3" name="hobby"/> <label for="lable3">敲代码</label>

        <input type="submit" value="提交">
    </form>
</body>
</html>